// 系统控制改查
import { baseRequest } from '@/utils/request'
const request = (url, ...arg) => {
    return baseRequest(url, ...arg)
}
export default {

    // 改
    modifySysControl(data) {
        return request('/ModifySysControl', {
            UUID: localStorage.getItem('UUID') ? localStorage.getItem('UUID') : '',
            ...data
        }, 'post')
    },
    // 查
    getSysControls(data) {
        return request('/GetSysControls', {
            UUID: localStorage.getItem('UUID') ? localStorage.getItem('UUID') : '',
            ...data
        }, 'post')
    },
}